/*
 * @Author: Troubadour 2276791354@qq.com
 * @Date: 2024-08-16 22:29:25
 * @LastEditors: Troubadour 2276791354@qq.com
 * @LastEditTime: 2024-08-16 22:31:53
 * @Version:
 * @Description:
 */

#ifndef __TFT_GUI_H__
#define __TFT_GUI_H__

/*-------------------------------------------------------------------------------------------------------------------------------------
-                                                  Include file                                                                       -
--------------------------------------------------------------------------------------------------------------------------------------*/
#include <stdio.h>
#include <stdint.h>

/*-------------------------------------------------------------------------------------------------------------------------------------
-                                                  External macro                                                                     -
--------------------------------------------------------------------------------------------------------------------------------------*/


/*-------------------------------------------------------------------------------------------------------------------------------------
-                                                  External enum                                                                      -
--------------------------------------------------------------------------------------------------------------------------------------*/


/*-------------------------------------------------------------------------------------------------------------------------------------
-                                                  External structure                                                                 -
--------------------------------------------------------------------------------------------------------------------------------------*/


/*-------------------------------------------------------------------------------------------------------------------------------------
-                                                  External variables                                                                 -
--------------------------------------------------------------------------------------------------------------------------------------*/


/*-------------------------------------------------------------------------------------------------------------------------------------
-                                                  External function                                                                  -
--------------------------------------------------------------------------------------------------------------------------------------*/

uint16_t TFT_GUI_BGR2RGB(uint16_t coloc);
void TFT_GUI_Circle(uint16_t X, uint16_t Y, uint16_t R, uint16_t fc);
void TFT_GUI_DrawLine(uint16_t x0, uint16_t y0, uint16_t x1, uint16_t y1, uint16_t Color);
void Gui_DrawFont_GBK16(uint16_t x, uint16_t y, uint16_t fc, uint16_t bc, uint8_t *s);
void Gui_DrawFont_Num32(uint16_t x, uint16_t y, uint16_t fc, uint16_t bc, uint16_t num);


#endif  /* __TFT_GUI_H__ */
